package jsu.blogger.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Users {
    private Long userId;
    private String username;
    private String password;
    private String currentDevice;

    public Users(String username, String password, String currentDevice) {
        this.username = username;
        this.password = password;
        this.currentDevice = currentDevice;
    }

    public Users(Long userId, String username) {
        this.userId = userId;
        this.username = username;
    }
    public Users(String username, String currentDevice) {
        this.username = username;

        this.currentDevice = currentDevice;
    }
}
